package com.it.hanzhongtravelv1.dto;

import com.it.hanzhongtravelv1.entity.Food;

public class FoodDTO {
    private Long id;
    private String name;
    private String description;
    private double price;
    private String specialFeature;
    private String imageUrl;
    private double rating;
    private String tags;
    private String category;

    public FoodDTO() {
    }

    public FoodDTO(Food food) {
        this.id = food.getId();
        this.name = food.getName();
        this.description = food.getDescription();
        this.price = food.getPrice();
        this.specialFeature = food.getSpecialFeature();
        this.imageUrl = food.getImageUrl();
        this.rating = food.getRating();
        this.tags = food.getTags();
        this.category = food.getCategory();
    }

    // Getters and Setters
    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public String getSpecialFeature() {
        return specialFeature;
    }

    public void setSpecialFeature(String specialFeature) {
        this.specialFeature = specialFeature;
    }

    public String getImageUrl() {
        return imageUrl;
    }

    public void setImageUrl(String imageUrl) {
        this.imageUrl = imageUrl;
    }

    public double getRating() {
        return rating;
    }

    public void setRating(double rating) {
        this.rating = rating;
    }

    public String getTags() {
        return tags;
    }

    public void setTags(String tags) {
        this.tags = tags;
    }

    public String getCategory() {
        return category;
    }

    public void setCategory(String category) {
        this.category = category;
    }
} 